import index from "./index.vue";
import Vue from "@/mixins/main.js";
import router from "./router";
import store from "@/store";



Vue.config.productionTip = false;
import BreadCrumb from "_c/breadCrumb/breadCrumb.vue";
Vue.component("BreadCrumb", BreadCrumb);
import UserTabList from "_c/tabList/userTabList.vue";
Vue.component("UserTabList", UserTabList);


import {
	Input,
	InputNumber,
	Select,
	Option,
	OptionGroup,
	CheckboxGroup,
	Checkbox,
	Page,
	RadioGroup,
	Radio,
	DatePicker,
	Cascader,
	Modal,
	Upload,
	Steps,
	Step,
	Button,
	Table,
	Dropdown,
	DropdownMenu,
	DropdownItem,
	Icon,
	Alert,
	Row,
	Col,
	Switch
} from "view-design";
Vue.component("Input", Input);
Vue.component("InputNumber", InputNumber);
Vue.component("Select", Select);
Vue.component("OptionGroup", OptionGroup);
Vue.component("Option", Option);
Vue.component("CheckboxGroup", CheckboxGroup);
Vue.component("Checkbox", Checkbox);
Vue.component("Page", Page);
Vue.component("RadioGroup", RadioGroup);
Vue.component("Radio", Radio);
Vue.component("DatePicker", DatePicker);
Vue.component("Cascader", Cascader);
Vue.component("Modal", Modal);
Vue.component("Upload", Upload);
Vue.component("Steps", Steps);
Vue.component("Step", Step);
Vue.component("Button", Button);
Vue.component("Table", Table);
Vue.component("Dropdown", Dropdown);
Vue.component("DropdownMenu", DropdownMenu);
Vue.component("DropdownItem", DropdownItem);
Vue.component("Icon", Icon);
Vue.component("Alert", Alert);
Vue.component("Row", Row);
Vue.component("Col", Col);
Vue.component("iSwitch", Switch);

Vue.prototype.$Modal = Modal;
import "view-design/dist/styles/iview.css";
import moment from "moment";
import _ from "lodash";
Vue.prototype._ = _;
Vue.prototype.$moment = moment;

export default new Vue({
	el: "#app",
	router,
	store,
	render: (h) => h(index),
});